
const { createWebAPIRequest } = require('../../util/util')
module.exports = [
  {
    /**
    * @api {get} /weblog [weblog]
    * @apiGroup Music
    * @apiPermission none
    * @apiDescription 不明 api
    */
    url: '/weblog',
    request: (req, res) => {
      const cookie = req.get('Cookie') ? req.get('Cookie') : ''
      const data = {
        csrf_token: ''
      }

      createWebAPIRequest(
        'music.163.com',
        '/weapi/feedback/weblog',
        'POST',
        data,
        cookie,
        musicReq => res.send(musicReq),
        err => res.status(500).send({err})
      )
    }
  }
]
